import { IFeidaoAiBrowserComponent } from '@dfeidao/atom-web/interfaces';
import set from '@dfeidao/atom-web/local/set';
export default async function a001(fd: IFeidaoAiBrowserComponent, nos: string, names: string) {
	// todo
	const name = fd.data.node.querySelector<HTMLInputElement>('[data-id="nameid"]');
	name.value = names;
	if (!nos) {
		alert("请选择修改计划类型");
		return;
	}
	const n = fd.data.node.querySelector<HTMLDivElement>('[data-id="add"]');
	n.setAttribute('class', 'bg-black-rgba6 pos-f pos-t0 pos-r0 pos-b0 pos-l0 overflow-a text-c ht100 w100 font12 ');
	set(fd, "nos", nos)
	set(fd, "names", names)
}
